#include "Subsystems/SubsystemExplosions.h"
#include "Components/ComponentPlayer.h"

namespace PocketSurvival
{
    bool SubsystemExplosions::tryExplodeBlock(int32_t x, int32_t y, int32_t z, int32_t value)
    {
        return false;
    }
    void SubsystemExplosions::addExplosion(int32_t x, int32_t y, int32_t z, float pressure, bool isIncendiary)
    {

    }

    void SubsystemExplosions::update(float dt)
    {
    }

    void SubsystemExplosions::load(const nlohmann::json &json) {}
    void SubsystemExplosions::save(nlohmann::json &json) {}
    void SubsystemExplosions::saveToMsgJson(nlohmann::json &jsonData) {}

    static const std::string subsystemName = "Explosions";
    const std::string& SubsystemExplosions::getName() const
    {
        return subsystemName;
    }
    SubUpdateType SubsystemExplosions::getUpdateType()
    {
        return SubUpdateType::MultiThreadUpdate;
    }
}